package com.ktjy.ktmall.service.dto;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ktjy.ktmall.domain.dto.AttrWithValues;

import java.util.List;

public interface AttrWithService extends IService<AttrWithValues> {
    //1.查询商品编号未关联的属性
    List<AttrWithValues> selectUnassociatedAttrsAndValues(Long goodsId);

    //2.查询属性对应的属性值
    List<AttrWithValues> selectAttrValuesList(Long attrId, Long goodsId);

    //3.查询sku编码未关联的属性
    List<AttrWithValues> selectSkuValueVoListBySkuList(String stockSku);

    //4.查询sku编码未关联的属性值
    List<AttrWithValues> selectSkuValueVoListBySkuIdAndAttrId(Long attrId, String stockSku);
}
